/*
共有32个一等奖分数
二等奖分数=一等奖分数第三高-1
三等奖=40

*/
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
#define DEBUG

inline int read()
{
    int c=getchar(), f=1, x=0;
    if(c=='-') f*=-1, x=getchar();
    while(c<'0'&&'9'<c) c=getchar();
    while('0'<=c&&c<='9') 
        x=(x<<3)+(x<<1)+c-'0', c=getchar();
    return f*x;
}
inline void write(long long x)
{
    if(x>=10) write(x/10);
    putchar(x%10+'0');
}

int first, second, third=40;
int score;
string line;
void init()
{
    cin >> score; getchar();
    getline(cin, line);
    istringstream ssin(line);
    int cnt=0, num=0;
    while(ssin>>num)
    {
        cnt++;
        if(cnt==1) first=num;
        else if(cnt==3) second=num-1;
        else if(cnt>3) break;
    }
}

void solve()
{
    init();
    
    if(score>=first) puts("sidekick");
    else if(score>=second) puts("sgnd");
    else if(score>=third) puts("cxq");
    else puts("kiku");

    // printf("%d %d %d\n", first, second, third);
}

signed main()
{
    #ifdef DEBUG
        freopen("../in.txt", "r", stdin);
        freopen("../out.txt", "w", stdout);
    #endif

    int T=1; //cin >> T; 
    while(T--) 
    {
        solve();
    }
    return 0;
}